﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AnaxibiaStudios.BeanPermutator.Gray
{
  internal class ElementMeta
  {
    public int Swing; //element moves between [0, index)
    public int Index;
    public int Direction;
    public bool Completed;
    public int InitialIndex;
    public bool Blocked;

    public override string ToString()
    {
      return string.Format("init[{0}]:index[{1}]:dir[{2}]:comp[{3}]:swing[{4}]:blocked[{5}]", InitialIndex, Index, Direction, Completed, Swing, Blocked);
    }
  }
}
